﻿<UserControl x:Class="slTestingStreaming.Controls.LoadingCursor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="20" d:DesignWidth="20">
	<UserControl.Resources>
		<Storyboard x:Name="sbRotate" RepeatBehavior="Forever">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0:0:0.7" Value="360"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" RenderTransformOrigin="0.5,0.5">
    	<Grid.RenderTransform>
    		<TransformGroup>
    			<ScaleTransform/>
    			<SkewTransform/>
    			<RotateTransform/>
    			<TranslateTransform/>
    		</TransformGroup>
    	</Grid.RenderTransform>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="0.50*"/>
    		<RowDefinition Height="0.50*"/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.50*"/>
    		<ColumnDefinition Width="0.50*"/>
    	</Grid.ColumnDefinitions>
    	<Rectangle Grid.ColumnSpan="1" Fill="Red" Margin="1" Grid.RowSpan="1"/>
    	<Rectangle Grid.ColumnSpan="1" Fill="#FFFFB200" Margin="1" Grid.RowSpan="1" Grid.Row="1"/>
    	<Rectangle Grid.ColumnSpan="1" Fill="#FF0047FF" Margin="1" Grid.RowSpan="1" Grid.Column="1"/>
    	<Rectangle Grid.ColumnSpan="1" Fill="#FF24FF00" Margin="1" Grid.RowSpan="1" Grid.Row="1" Grid.Column="1"/>

    </Grid>
</UserControl>
